package com.bingxue.edu.management.education.model.query;

import com.bingxue.edu.common.enums.CommonStatusEnum;
import com.bingxue.edu.framework.mybatis.query.Query;
import com.bingxue.edu.framework.mybatis.query.QueryType;
import com.bingxue.edu.management.education.model.entity.ClassType;
import com.mybatisflex.annotation.TableRef;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableRef(ClassType.class)
@Schema(description = "班级类型查询条件")
public class ClassTypeQuery {

    @Schema(description = "名称")
    @Query(type = QueryType.LIKE)
    private String name;

    @Schema(description = "状态")
    private CommonStatusEnum status;
}
